<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>功能列表页面</title>
    <script language="javascript" type="text/javascript"
            src="<c:url value='/resources/scripts/jquery-1.4.4.min.js'/>"></script>
    <script language="javascript">
        $(function () {
            $(".indexChapter").each(function (index) {
                $(this).click(function () {
                    //$(".chapter ul .show").removeClass("show");
                    $(this).next("ul").toggle();
                })
            })
        })


        function IFrameResize()
        {
            var iframe = document.getElementById("viewframe");
            var iframeDocument = null;
            //safari和chrome都是webkit内核的浏览器，但是webkit可以,chrome不可以
            if (iframe.contentDocument)
            {
                //ie 8,ff,opera,safari
                iframeDocument = iframe.contentDocument;
            }
            else if (iframe.contentWindow)
            {
                // for IE, 6 and 7:
                iframeDocument = iframe.contentWindow.document;
            }
            if (!!iframeDocument) {
                iframe.width=iframeDocument.documentElement.scrollWidth+"px";
                iframe.height=iframeDocument.documentElement.scrollHeight+"px";
            } else {
                alert("this browser doesn't seem to support the iframe document object");
            }

        }
    </script>
    <style type="text/css">
        body {
            pading: 0px;
        }

        #head {
            font-size: 12px;
            border: solid 1px #006600;
            padding: 3px;
            /*width:980px;*/
            width: auto;
            margin-bottom: 10px;
            text-align: center;
        }

        #con {
            float: left;
            /*width: 260px;*/
            width: 20%;
            min-height: 510px;
            height: 90%;
            border: solid 1px #006600;
            font-size: 12px;
            /*overflow-x: no;*/
            overflow-y: auto;
            scrollbar-face-color: #ffffff;
            scrollbar-highlight-color: #cccccc;
            scrollbar-shadow-color: #cccccc;
            scrollbar-3dlight-color: #ffffff;
            scrollbar-arrow-color: #919192;
            scrollbar-track-color: #ffffff;
            scrollbar-darkshadow-color: #ffffff;
        }

        #view {
            /*margin-left: 20px;*/
            margin-left: 10px;
            /*width: 700px;*/
            width: 78%;
            min-height: 510px;
            height: 90%;
            border: solid 1px #006600;
            font-size: 12px;
            float: left;
        }

        ul {
            margin: 0px;
            padding-top: 0px;
            padding-left: 10px;
            display: none;
        }

        ul li {
            float: left;
            text-align: left;
            padding-top: 2px;
            padding-bottom: 5px;
            width: 250px;
            list-style: disc inside;
            list-style-type: decimal;
        }

        a {
            text-decoration: none;
            color: #555;
        }

        a:hover {
            text-decoration: none;
            color: #7f0019
        }

        .chapter {
            width: 260px;
        }

        .indexChapter {
            margin: 0px;
            padding: 5px;
            font-weight: bold;
            width: 200px;
        }
    </style>
</head>
<body>
<%--<a href="<c:url value='/admin/listNotification.do' />">消息实时推送</a>--%>
<%--</br>--%>
<%--<a href="<c:url value='/admin/listSession.do' />">会议日程编辑</a></br>--%>
<%--<a href="<c:url value='/admin/listContent.do' />">其他内容编辑(公司介绍、玩乐周边等)</a>--%>
<div id="head">
    <h2 >Servier 会议内容管理界面 </h2>
    <%--<h4 style="text-align: right;"><a href="<c:url value="/admin/logout.do"/>">退出系统</a></h4>--%>
    　　　
</div>
<div id="con">
    <div id="chapter_1" class="chapter">
        <div class="indexChapter">内容管理</div>
        <ul>
            <%--<li><a href="<c:url value='/admin/viewContent.do?type=intro' />" target="viewframe">公司介绍</a></li>--%>
            <li><a href="<c:url value='/admin/viewContent.do?type=tips' />" target="viewframe">小贴士</a></li>
            <li><a href="<c:url value='/admin/viewContent.do?type=view' />" target="viewframe">美景</a></li>
            <li><a href="<c:url value='/admin/viewContent.do?type=food' />" target="viewframe">美食</a></li>
        </ul>
    </div>
    <div id="chapter_2" class="chapter">
        <div class="indexChapter">会议管理</div>
        <ul>
            <li><a href="<c:url value='/admin/calendar/listCalendar.do' />" target="viewframe">会议日程管理</a></li>
            <%--<li><a href="" target="viewframe">会议分组管理</a></li>--%>
            <li><a href="<c:url value='/admin/session/listSession.do' />" target="viewframe">会议内容管理</a></li>

        </ul>
    </div>
    <div id="chapter_3" class="chapter">
        <div class="indexChapter">档案管理</div>
        <ul>
            <li><a href="<c:url value='/admin/folder/listFolder.do'/> " target="viewframe">档案分组</a></li>
            <li><a href="<c:url value='/admin/listActRecord.do?cate=0'/> " target="viewframe">本期亮点</a></li>
            <li><a href="<c:url value='/admin/listActRecord.do?cate=1'/> " target="viewframe">精彩回顾</a></li>
        </ul>
    </div>

    <div id="chapter_6" class="chapter">
        <div class="indexChapter">问卷调查</div>
        <ul>
            <li><a href="<c:url value='/admin/survey/listQuestionnaire.do'/> " target="viewframe">问卷列表</a></li>
            <li><a href="<c:url value='/admin/survey/listSurvey.do?'/> " target="viewframe">调查问题列表</a></li>
        </ul>
    </div>

    <div id="chapter_4" class="chapter">
        <div class="indexChapter">联系人管理</div>
        <ul>
            <li><a href="<c:url value='/admin/listContact.do'/>" target="viewframe">联系人管理</a></li>
        </ul>
    </div>
    <div id="chapter_5" class="chapter">
        <div class="indexChapter">消息推送管理</div>
        <ul>
            <li><a href="<c:url value='/admin/listNotification.do'/>" target="viewframe">消息推送管理</a></li>
        </ul>
    </div>
    <div id="chapter_7" class="chapter">
        <div class="indexChapter">图片上传管理</div>
        <ul>
            <li><a href="<c:url value='/admin/resource/listResource.do'/>" target="viewframe">图片管理</a></li>
        </ul>
    </div>
    <div id="" class="chapter">
        <div class="indexChapter"><a href="<c:url value="/admin/logout.do"/>">退出系统</a></div>

    </div>









</div>
<div id="view">
    <iframe id="viewframe" name="viewframe" scrolling="yes"   width="100%" height="100%"  onload=""
            ALLOWTRANSPARENCY="true" frameborder="0" src="">
    </iframe>
</div>


</body>
</html>